package com.hdax.dm.mapstructs;

import com.hdax.dm.dto.ItemsDto;
import com.hdax.dm.dto.SchedulerPeiceDto;
import com.hdax.dm.item.Item;
import com.hdax.dm.scheduler.DmSchedulerSeatPrice;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class ItemsDtoMapper {
    public abstract ItemsDto ToItemsDto(Item item);

    public abstract List<ItemsDto> ToItemsDto(List<Item> item);

    public abstract List<SchedulerPeiceDto> schedulerPeiceDtos(List<DmSchedulerSeatPrice> dmSches);
}
